package cn.edu.scau.cmil.linwei.comprehensive.Script;

import java.io.Serializable;

public class Score implements Serializable {
    //成绩元素
    public int Attend;//考勤分
    public int Exam;//测验分
    public int Work;//作业分
    public int FinalExam;//期末分
    public int TotalScore;//总评
    //成绩相关因素
    public String StudentID;//学号
    public String StudentName;//学生姓名
    public String StudentGrade;//学生年级
    public String StudentMajor;//学生专业
    public String StudentClass;//学生班级
    public String TeacherName;//教师姓名
    public String CourseName;//课程名

    public Score(){//空构造方法

    }
    public Score(String StudentID,String StudentName,String StudentGrade,String StudentMajor,String StudentClass,String TeacherName,String CourseName
            ,int Attend,int Exam,int Work,int FinalExam,int TotalScore){
        this.Attend = Attend;
        this.Exam = Exam;
        this.Work = Work;
        this.FinalExam = FinalExam;
        this.TotalScore = TotalScore;
        this.StudentID = StudentID;
        this.StudentName = StudentName;
        this.StudentClass = StudentClass;
        this.StudentGrade = StudentGrade;
        this.TeacherName = TeacherName;
        this.CourseName = CourseName;
        this.StudentMajor = StudentMajor;
    }

}
